package sunyan.service.impl;

import sunyan.dao.SunYanDao;
import sunyan.entity.SunYanEntity;
import sunyan.service.SunYanService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service("sunYanService")
public class SunYanServiceImpl implements SunYanService {
   @Autowired
    SunYanDao sunyanDao;


  @Override
    public List<SunYanEntity> queryPage(String name) {
        return sunyanDao.queryPage(name);
    }
}
